package com.bkgy.modular.tbdsjplancheckpdiC642.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.bkgy.converter.AbnormalAlarmConverter;
import com.bkgy.converter.AddOrDel2Converter;
import com.bkgy.converter.JudgmentResultConverter;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class PlanCheckPdi642 {

    @ExcelProperty("计划中的钢卷顺序")
    @ColumnWidth(20)
    private Double coil_seq_no;

    @ExcelProperty("计划号")
    @ColumnWidth(20)
    private String plan_no; // 计划号

    @ExcelProperty("材料号")
    @ColumnWidth(20)
    private String cust_mat_no; // 冷卷号

    @ExcelProperty("钢种（牌号)")
    @ColumnWidth(20)
    private String steel_code;

    @ExcelProperty("厚度")
    @ColumnWidth(20)
    private Double in_mat_thick;

    @ExcelProperty("宽度")
    @ColumnWidth(20)
    private Double in_mat_width;

    @ExcelProperty("重量")
    @ColumnWidth(20)
    private Double in_mat_wt;

    @ExcelProperty("长度")
    @ColumnWidth(20)
    private Double in_mat_len;

    @ExcelProperty("入口内径")
    @ColumnWidth(20)
    private Double in_mat_inner_dia;

    @ExcelProperty("外径")
    @ColumnWidth(20)
    private Double in_mat_outer_dia;

    @ExcelProperty("出口厚度")
    @ColumnWidth(20)
    private Double out_mat_thick;

    @ExcelProperty("出口宽度")
    @ColumnWidth(20)
    private Double out_mat_width;

    @ExcelProperty(value = "是否切边",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String trim_flag;

    @ExcelProperty("切边宽度")
    @ColumnWidth(20)
    private Double cut_width;

    @ExcelProperty("分卷模式")
    @ColumnWidth(20)
    private Double div_mode;

    @ExcelProperty("分切重量1")
    @ColumnWidth(20)
    private Double cut_wt_1;

    @ExcelProperty("分切最小重量")
    @ColumnWidth(20)
    private Double cut_wt_min;

    @ExcelProperty("分切最大重量")
    @ColumnWidth(20)
    private Double cut_wt_max;

    @ExcelProperty("内径")
    @ColumnWidth(20)
    private Double out_mat_inner_dia;

    @ExcelProperty("订单厚度")
    @ColumnWidth(20)
    private Double order_thick;

    @ExcelProperty("订单宽度")
    @ColumnWidth(20)
    private Double order_width;

    @ExcelProperty("生产订单号")
    @ColumnWidth(20)
    private String order_no;

    @ExcelProperty("内部牌号")
    @ColumnWidth(20)
    private String sg_sign;

    @ExcelProperty("压下率（计算值）")
    @ColumnWidth(20)
    private Double deprquo;

    @ExcelProperty("平整模式")
    @ColumnWidth(20)
    private Double spm_mode;

    @ExcelProperty("平整延伸率")
    @ColumnWidth(20)
    private Double spm_elong;

    @ExcelProperty("拉矫模式")
    @ColumnWidth(20)
    private Double tlv_mode;

    @ExcelProperty("拉矫延伸率")
    @ColumnWidth(20)
    private Double tension_elong_avg;

    @ExcelProperty("退火代码")
    @ColumnWidth(20)
    private Double anneal_diagram_code;

    @ExcelProperty("表面粗糙度")
    @ColumnWidth(20)
    private Double rough_aim;

    @ExcelProperty("涂油类型")
    @ColumnWidth(20)
    private Double oil_type;

    @ExcelProperty("上表面涂油量")
    @ColumnWidth(20)
    private Double top_oil_qty;

    @ExcelProperty("下表面涂油量")
    @ColumnWidth(20)
    private Double bot_oil_qty;

    @ExcelProperty("涂油量代码")
    @ColumnWidth(20)
    private String oil_wt_code;

    @ExcelProperty("切边宽度最小")
    @ColumnWidth(20)
    private Double cut_width_min;

    @ExcelProperty("切边宽度最大")
    @ColumnWidth(20)
    private Double cut_width_max;

    @ExcelProperty("出口宽度最小值")
    @ColumnWidth(20)
    private Double out_mat_width_min;

    @ExcelProperty("出口宽度最大值")
    @ColumnWidth(20)
    private Double out_mat_width_max;

    @ExcelProperty("焊接代码")
    @ColumnWidth(20)
    private Double weld_code;

    @ExcelProperty("屈服强度")
    @ColumnWidth(20)
    private Double ys;

    @ExcelProperty("下道工序")
    @ColumnWidth(20)
    private String next_unit_no;

    @ExcelProperty("客户代码")
    @ColumnWidth(20)
    private String fin_cust_code;

    @ExcelProperty("表面质量")
    @ColumnWidth(20)
    private String quality_decide;

    @ExcelProperty("过渡卷标记")
    @ColumnWidth(20)
    private String dummy_coil_flag;

    @ExcelProperty("最终用户名称")
    @ColumnWidth(20)
    private String fin_user_name;

    @ExcelProperty("外贸区分")
    @ColumnWidth(20)
    private String export_flag;

    @ExcelProperty("合同特殊要求")
    @ColumnWidth(20)
    private String special_remark;

    @ExcelProperty("原料质量信息")
    @ColumnWidth(20)
    private String defect_desc;

    @ExcelProperty("工艺特殊要求")
    @ColumnWidth(20)
    private String order_special;

    @ExcelProperty("热卷号")
    @ColumnWidth(20)
    private String hot_coil_id; // 热卷号

    @ExcelProperty(value = "切边量异常报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String trim_warn;

    @ExcelProperty("连退卷入口宽度最大值，酸轧出口卷宽度最大值")
    @ColumnWidth(20)
    private Double en_c642_width_max;

    @ExcelProperty("连退卷入口宽度最小值，酸轧出口卷宽度最小值")
    @ColumnWidth(20)
    private Double en_c642_width_min;

    @ExcelProperty(value = "原料厚度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String en_thk_jump_allow;

    @ExcelProperty(value = "成品厚度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String ex_thk_jump_allow;

    @ExcelProperty(value = "宽度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String en_wid_jump_allow;

    @ExcelProperty(value = "钢种跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String steel_jump_allow;

    @ExcelProperty(value = "退火钢种跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String heatno_jump_allow;

    @ExcelProperty(value = "是否新钢种,0表示已有，1表示新增",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String steel_flag;

    @ExcelProperty(value = "入口卷重量,  0表示不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String wt_warn;

    @ExcelProperty(value = "入口卷外径,  0表示不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String en_out_dia;

    @ExcelProperty(value = "出库剪切重量报警,  0表示在范围内不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String cut_wt_warn;

    @ExcelProperty(value = "出口内径为610正常，若不为610报警, 0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String ex_in_dia_warn;

    @ExcelProperty("最终用途描述")
    @ColumnWidth(20)
    private String apn_desc;


    @ExcelProperty(value = "判断外贸，0表示不是外贸，1表示外贸卷，提示注意出现外贸卷报警提示",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String waimao;

    @ExcelProperty("碳当量")
    @ColumnWidth(20)
    private Double ceq;

    @ExcelProperty("热卷的卷曲温度")
    @ColumnWidth(20)
    private Double temp_ct_avg;

    @ExcelProperty("热卷的终轧温度")
    @ColumnWidth(20)
    private Double rolling_end_temp_aim_hsm;

    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd")
    private Timestamp create_time;

    @ExcelProperty("可替换卷")
    @ColumnWidth(20)
    private String replacedby;

    @ExcelProperty("插入替换建议卷")
    @ColumnWidth(20)
    private String insertandreplacesuggest;

    @ExcelProperty("建议生产顺序")
    @ColumnWidth(20)
    private Double new_seq;

    @ExcelProperty("均热温度")
    @ColumnWidth(20)
    private String t2_sf;

    @ExcelProperty("连退炉速度")
    @ColumnWidth(20)
    private String speed;

    @ExcelProperty("退火温度")
    @ColumnWidth(20)
    private String t1;

    @ExcelProperty("缓冷温度")
    @ColumnWidth(20)
    private String t3;

    @ExcelProperty("快冷温度")
    @ColumnWidth(20)
    private String t4;

    @ExcelProperty("过时效一温度")
    @ColumnWidth(20)
    private String t51;

    @ExcelProperty("过时效二温度")
    @ColumnWidth(20)
    private String t52;

    @ExcelProperty("终冷温度温度")
    @ColumnWidth(20)
    private String t6;

    @ExcelProperty("粗糙度")
    @ColumnWidth(20)
    private String roughness;

    @ExcelProperty("取样位置")
    @ColumnWidth(20)
    private String sample_pos;

    @ExcelProperty("生产与试生产")
    @ColumnWidth(20)
    private String production;

    @ExcelProperty("均热目标温度")
    @ColumnWidth(20)
    private Double aim_sf_temp;

    @ExcelProperty("连退炉速度下限")
    @ColumnWidth(20)
    private Double aim_speed;

}
